package com.canaan.business.domain.inOutStock;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 绑定关系对象 wms_bind_record
 *
 * @author canaan
 * @date 2025-03-29
 */
@ApiModel(description = "wms_bind_record")
@TableName("wms_bind_record")
public class BindRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 父级条码 */
    @Excel(name = "父级条码")
    @ApiModelProperty("父级条码")
    private String parentNo;

    /** 子级条码 */
    @Excel(name = "子级条码")
    @ApiModelProperty("子级条码")
    private String childNo;

    /** 绑定类型 */
    @Excel(name = "绑定类型")
    @ApiModelProperty("绑定类型")
    private Long bindType;

    /** 批次号 */
    @Excel(name = "批次号")
    @ApiModelProperty("批次号")
    private String batchNo;

    /** 操作 */
    @Excel(name = "操作")
    @ApiModelProperty("操作")
    private String operation;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("操作")
    private String delFlag;

    public void setParentNo(String parentNo)
    {
        this.parentNo = parentNo;
    }

    public String getParentNo()
    {
        return parentNo;
    }
    public void setChildNo(String childNo)
    {
        this.childNo = childNo;
    }

    public String getChildNo()
    {
        return childNo;
    }
    public void setBindType(Long bindType)
    {
        this.bindType = bindType;
    }

    public Long getBindType()
    {
        return bindType;
    }
    public void setBatchNo(String batchNo)
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo()
    {
        return batchNo;
    }
    public void setOperation(String operation)
    {
        this.operation = operation;
    }

    public String getOperation()
    {
        return operation;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("parentNo", getParentNo())
            .append("childNo", getChildNo())
            .append("bindType", getBindType())
            .append("batchNo", getBatchNo())
            .append("operation", getOperation())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
